package org.com.structuralPattern.proxyPattern;

/**
 * @author Jonny
 * @version 1.0
 * @Description:
 * @date 2021/4/14 17:52
 */
public class GamePlayer implements IGamePlayer {

    private String name="";//游戏角色

    public GamePlayer(String name){
        this.name=name;
    }

    public void killBoss() {
        System.out.println(this.name+" 打怪中~");
    }


    public void upGrade() {
        System.out.println(this.name+" 成功升了1级");
    }
}
